package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author JavaIslandOwner
 * @since 2024-07-01
 */


@Data
@ToString
@EqualsAndHashCode
public class Mycoupon implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "mycoupon_id", type = IdType.AUTO)
    private Integer mycouponId;

    private String mycouponNumber;

    private Integer customerId;

    private String customerName;

    private String mycouponName;

    private BigDecimal mycouponPrice;

    private LocalDateTime mycouponCreateTime;

    private LocalDateTime mycouponStartTime;

    private LocalDateTime mycouponEndTime;

    private Integer mycouponStatus;

    public Integer getMycouponId() {
        return mycouponId;
    }

    public void setMycouponId(Integer mycouponId) {
        this.mycouponId = mycouponId;
    }
    public String getMycouponNumber() {
        return mycouponNumber;
    }

    public void setMycouponNumber(String mycouponNumber) {
        this.mycouponNumber = mycouponNumber;
    }
    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }
    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }
    public String getMycouponName() {
        return mycouponName;
    }

    public void setMycouponName(String mycouponName) {
        this.mycouponName = mycouponName;
    }
    public BigDecimal getMycouponPrice() {
        return mycouponPrice;
    }

    public void setMycouponPrice(BigDecimal mycouponPrice) {
        this.mycouponPrice = mycouponPrice;
    }
    public LocalDateTime getMycouponCreateTime() {
        return mycouponCreateTime;
    }

    public void setMycouponCreateTime(LocalDateTime mycouponCreateTime) {
        this.mycouponCreateTime = mycouponCreateTime;
    }
    public LocalDateTime getMycouponStartTime() {
        return mycouponStartTime;
    }

    public void setMycouponStartTime(LocalDateTime mycouponStartTime) {
        this.mycouponStartTime = mycouponStartTime;
    }
    public LocalDateTime getMycouponEndTime() {
        return mycouponEndTime;
    }

    public void setMycouponEndTime(LocalDateTime mycouponEndTime) {
        this.mycouponEndTime = mycouponEndTime;
    }
    public Integer getMycouponStatus() {
        return mycouponStatus;
    }

    public void setMycouponStatus(Integer mycouponStatus) {
        this.mycouponStatus = mycouponStatus;
    }

    @Override
    public String toString() {
        return "Mycoupon{" +
            "mycouponId=" + mycouponId +
            ", mycouponNumber=" + mycouponNumber +
            ", customerId=" + customerId +
            ", customerName=" + customerName +
            ", mycouponName=" + mycouponName +
            ", mycouponPrice=" + mycouponPrice +
            ", mycouponCreateTime=" + mycouponCreateTime +
            ", mycouponStartTime=" + mycouponStartTime +
            ", mycouponEndTime=" + mycouponEndTime +
            ", mycouponStatus=" + mycouponStatus +
        "}";
    }
}
